import Login from "../page/Login";
import Article from "../page/Article";
import {createBrowserRouter} from 'react-router-dom'


const myrouter = createBrowserRouter([
    {
        path:'/login',
        element:<Login/>
    },
    {
        path:'/article/:id/:name',
        element:<Article/>
    }
])

export default myrouter